<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>

<s:if test="message!=null&&message!=''">
  <div class="message">
    <s:property value="message" />
  </div>
</s:if>

<s:form action="mail" method="POST" enctype="multipart/form-data">
  <s:hidden name="action" value="add"></s:hidden>
  <s:textfield name="from" disabled="true" label="发件人" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.to" label="收件人" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.cc" label="抄送" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.bcc" label="暗送" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.subject" label="主题" cssStyle="width:500px;"></s:textfield>
  <s:textfield name="mail.content" label="内容" cssStyle="width:500px;height:200px"></s:textfield>
  <s:submit value="发送" cssClass="button"></s:submit>
</s:form>
